﻿<Window x:Class="JMailTShell.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Grid Background="DarkBlue" Grid.Row="0">
            <TextBlock Text="JMAILT" Foreground="Gray"/>
        </Grid>
        <StackPanel Grid.Row="1">
            <Button Name="_ctlBtnList" Content="List" HorizontalAlignment="Left" Click="_ctlBtnList_Click" />
            <Button Name="_ctlBtnListCount" Content="List-Count" HorizontalAlignment="Left" Click="_ctlBtnListCount_Click" />
            <Label Content="Label" Height="28" Name="label1" />
        </StackPanel>
        <Grid Grid.Row="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="200"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <ListBox Name="_ctlListMails" Grid.Column="0" SelectionChanged="_ctlListMails_SelectionChanged">
                <ListBox.ItemTemplate>
                    <DataTemplate>
                        <TextBlock Text="{Binding Path=UniqueID}"/>
                    </DataTemplate>
                </ListBox.ItemTemplate>
            </ListBox>
            <TextBox Name="_ctlEditContent" IsReadOnly="True" Grid.Column="1" TextWrapping="Wrap" VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto" />
        </Grid>
    </Grid>
</Window>
